package com.suneast.suneaststore.modules.homepage.event;


import com.suneast.suneaststore.bean.homepage.RecommendProductBean;

import java.util.ArrayList;

/**
 * Created by zestz on 2018/3/23.
 */

public class OnLoadMoreEvent {

    private boolean noMoreData;

    public boolean isNoMoreData() {
        return noMoreData;
    }

    private int page;
    private ArrayList<RecommendProductBean> starProductBeanList;

    public OnLoadMoreEvent(boolean noMoreData) {
        this.noMoreData = noMoreData;
    }

    public OnLoadMoreEvent(int page, ArrayList<RecommendProductBean> starProductBeanList) {

        noMoreData = false;

        this.page = page;
        this.starProductBeanList = starProductBeanList;
    }

    public int getPage() {

        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public ArrayList<RecommendProductBean> getStarProductBeanList() {
        return starProductBeanList;
    }

    public void setStarProductBeanList(ArrayList<RecommendProductBean> starProductBeanList) {
        this.starProductBeanList = starProductBeanList;
    }
}
